package com.java_base.switch_branch;

public class SwitchDemo01 {
    public static void main(String[] args) {
        // 案例：一周任务
        String weekDay = "周三";
        switch (weekDay) {
            case "周一":
                System.out.println("埋头苦干：解决bug");
                break;
            case "周二":
                System.out.println("请求大牛程序员帮忙");
                break;
            case "周三":
                System.out.println("今晚啤酒，龙虾，小烧烤");
                break;
            case "周四":
                System.out.println("主动帮忙新来的女程序员解决bug");
                break;
            case "周五":
                System.out.println("今晚吃鸡");
                break;
            case "周六":
                System.out.println("与王婆介绍的小芳相亲");
                break;
            case "周日":
                System.out.println("郁郁寡欢，准备上班");
                break;
            default:
                System.out.println("数据有误！请相关人员检查");
        }
    }
}
